package org.codefinger.dao.util.jdbc;

import java.sql.PreparedStatement;
import java.sql.SQLException;

public class DoubleSetter implements StatementSetter {

	public static final DoubleSetter	INSTANCE	= new DoubleSetter();

	private DoubleSetter() {

	}

	@Override
	public void setParam(PreparedStatement statement, int index, Object param) throws SQLException {
		statement.setDouble(index, (Double) param);
	}
}
